package com.kele.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Date;

@ApiModel(value = "博客类",description = "博客对象blog")
@Data public class Blog {
    //id,标题,热度,发布日期,类型,创作类型
    @ApiModelProperty(value = "博客类id")
    private int bid;
    @ApiModelProperty(value = "博主")
    private String blogger;
    @ApiModelProperty(value = "博客标题")
    private String title;
    @ApiModelProperty(value = "热度")
    private long   doh;
    @ApiModelProperty(value = "发布日期")
    private Date   releasetime;
    @ApiModelProperty(value = "博客类型")
    private String type;
    @ApiModelProperty(value = "创作类型")
    private String toc;
    @ApiModelProperty(value = "点赞数")
    private int    thumbsup;
    @ApiModelProperty(value = "收藏")
    private int    collection;
    @ApiModelProperty(value = "文章")
    private String    content;
}

